//package com.ruoyi.web.controller.product;
//
//import com.ruoyi.common.annotation.Anonymous;
//import com.ruoyi.common.annotation.Log;
//import com.ruoyi.common.core.controller.BaseController;
//import com.ruoyi.common.core.domain.AjaxResult;
//import com.ruoyi.common.core.page.TableDataInfo;
//import com.ruoyi.common.enums.BusinessType;
//import com.ruoyi.common.utils.poi.ExcelUtil;
//import com.ruoyi.system.domain.Orders;
//import com.ruoyi.system.service.IOrdersService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletResponse;
//import java.util.List;
//
///**
// * 订单Controller
// *
// * @author ruoyi
// * @date 2025-04-12
// */
//@RestController
//@RequestMapping("/order")
//public class OrdersSuccessController extends BaseController {
//    @Autowired
//    private IOrdersService ordersService;
//
//    /**
//     * 获取订单详细信息
//     */
//    @GetMapping(value = "/success/{orderNo}")
//    @Anonymous
//    public AjaxResult getInfoByOrderNo(@PathVariable("orderNo") String orderNo) {
//        return success(ordersService.selectOrdersByOrderNo(orderNo));
//    }
//
//
//}
